
const detail = {
  state: {
    shopPageMap: {},
    buyNum: '',
    searchResult: {},
    searchSite: {} // 搜索结果页地图选择地址
  },
  mutations: {
    PAGE_MAP: (state, data) => {
      state.shopPageMap = data
    },
    BUY_NUM: (state, data) => {
      state.buyNum = data
    },
    SEARCH_RESULT: (state, data) => {
      state.searchResult = data
    },
    SEARCH_SITE: (state, data) => {
      state.searchSite = data
    }
  },
  actions: {
  }
}

export default detail
